﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="admin_Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="width:820px">
    <hr />
    <hr />
    <table style="width: 100%">
        <tr>
            <td rowspan="6" style="width: 321px; background-color: #3399cc; text-align: right">
                <img src="../img/Login.png" alt="" /></td>
            <td colspan="2" style="height: 21px; text-align: center">
                <strong><span style="font-size: 16pt; color: navy"></span></strong>
            </td>
            <td rowspan="6" style="width: 100%; background-color: #3399cc; text-align: left">
                <img src="../img/Login.png" alt=""/></td>
        </tr>
        <tr >
            <td style="width: 30%; height: 21px; text-align: right" class="style1">
                                    Username:</td>
            <td style="width: 100%; height: 21px; text-align: left; height: 40px;">
                <asp:TextBox ID="txtUserName" runat="server" Width="283px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
                                        ErrorMessage="UserName is required!" CssClass="style1" 
                    ForeColor="Red">(*)</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 30%; text-align: right; height: 26px;" class="style1">
                                    Password:</td>
            <td style="width: 100%; text-align: left; height: 26px; height: 40px;">
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="281px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                                        ErrorMessage="Password is requered!" ForeColor="Red">(*)</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 30%; height: 22px;">
            </td>
            <td style="width: 70%; text-align: left; height: 22px; height: 40px;">
                <asp:CheckBox ID="cbRemember" runat="server" Text="Remember me" Width="127px" 
                    ForeColor="White" />
                <span
                                        style="width: 100%; color: blue"></span>
            </td>
        </tr>
        <tr>
            <td style="width: 30%; height: 45px;">
            </td>
            <td style="width: 100%; text-align: left; height: 30px;">
                <br />
                <asp:Button ID="btnLogin" runat="server" Text="Login" Width="83px" OnClick="btnLogin_Click" />
                                    &nbsp;&nbsp; &nbsp; &nbsp;<asp:Button ID="Button1" runat="server" CausesValidation="False"
                                        OnClick="Button1_Click" Text="Reset" Width="81px" />
                                    &nbsp; &nbsp;
                                </td>
        </tr>
        <tr>
            <td style="width: 30%; height: 21px;">
            </td>
            <td style="width: 100%; text-align: left; height: 21px;">
            </td>
        </tr>
        <tr>
            <td rowspan="1" style="width: 321px; background-color: #3399cc; text-align: right; height: 23px;">
            </td>
            <td style="width: 30%; height: 23px">
            </td>
            <td style="width: 100%; height: 23px; text-align: center">
                <asp:Label ID="txtMessage" runat="server" ForeColor="Red"></asp:Label>
            </td>
            <td rowspan="1" style="width: 100%; background-color: #3399cc; text-align: left; height: 23px;">
            </td>
        </tr>
    </table>
    <hr />
    <hr />
</div>
</asp:Content>

